package com.akk.module.avs.mapper;

import com.akk.module.avs.entity.AvsYbLoanStep;
import com.akk.module.avs.entity.AvsYbLoanStepExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AvsYbLoanStepMapper {
    int countByExample(AvsYbLoanStepExample example);

    int deleteByExample(AvsYbLoanStepExample example);

    int deleteByPrimaryKey(Long loanStepId);

    int insert(AvsYbLoanStep record);

    int insertSelective(AvsYbLoanStep record);

    List<AvsYbLoanStep> selectByExample(AvsYbLoanStepExample example);

    AvsYbLoanStep selectByPrimaryKey(Long loanStepId);

    int updateByExampleSelective(@Param("record") AvsYbLoanStep record, @Param("example") AvsYbLoanStepExample example);

    int updateByExample(@Param("record") AvsYbLoanStep record, @Param("example") AvsYbLoanStepExample example);

    int updateByPrimaryKeySelective(AvsYbLoanStep record);

    int updateByPrimaryKey(AvsYbLoanStep record);
}